export default [
  {
    exact: true,
    path: '/',
    component: '@/pages/index',
    name: '首页',
    icon: 'WindowsOutlined',
  },
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/login',
          },
        ],
      },
    ],
  },
  // 学习react页面
  // {
  //   path: '/react_learn',
  //   name: '学习react-hook',
  //   component: '@/pages/react_learn',
  // },
  {
    path: '/react_learn',
    name: '学习react',
    icon: 'AppstoreAddOutlined',
    routes: [
      {
        path: '/react_learn/react_process',
        name: '学习react-hook',
        component: '@/pages/react_learn/react_process',
      },
      {
        path: '/react_learn/react_Protable',
        name: '学习react-proTable',
        component: '@/pages/react_learn/react_Protable',
      },
    ],
  },
];
